<?php 

class RestServer implements IRestServer
{
    
    private $_adapter = null;
    
    public function __construct()
    {
        $this->_adapter = new ZendRestServerAdapter();
    }
    
    public function addFunction($functionName)
    {
        $this->_adapter->addFunction($functionName);
    }
    
    public function setClass($className)
    {
        $this->_adapter->setClass($className);
    }
    
    public function handle()
    {
        $this->_adapter->handle();
    }
}

?>